/*
 * @Author: 张小平
 * @Date:   2025-05-01
 * @Email:  qqshuqian@163.com
 * @Copyright © 2024 aseyun. All rights reserved.
 */
export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "#",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6,
    grid: window.isMobile,
    gridSpan: 24,
    searchEnter:true,
  "column": [


        {
      "type": "input",
      "label": "栏位编码",
      "prop": "code",
        "rules": [{
            required: true,
            message: '栏位编码不能为空',
            trigger: 'blur'
        }],
        'search': true,
      "span": 12
    }


            ,
        {
      "type": "input",
      "label": "栏位名称",
      "prop": "name",
        "rules": [{
            required: true,
            message: '栏位名称不能为空',
            trigger: 'blur'
        }],
        'search': true,
      "span": 12
    }


            ,
      {
          "type": "switch",
          "label": "首页显示",
          "prop": "home",
          "rules": [{
              required: true,
              message: '首页显示不能为空',
              trigger: 'blur'
          }],
          dicData: [
              {
                  label: '否',
                  value: 0
              }, {

                  label: '是',
                  value: 1
              }],
          value: 1,
          'search': true,
          "span": 12
      }


            ,
        {
      "type": "input",
      "label": "排序号",
      "prop": "sort",
        "rules": [{
            required: true,
            message: '排序号不能为空',
            trigger: 'blur'
        }],
        'search': false,
      "span": 12
    }


            ,
      {
          "type": "input",
          "label": "备注",
          "prop": "comments",
          "span": 12
      }



  ]
}
